package com.yc.factorymethod2;

import com.yc.bean.CCourse;
import com.yc.bean.ICourse;
import com.yc.bean.JavaCourse;

public class JavaCourseFactory implements ICourseFactory{
    @Override
    public ICourse create() {
        return new JavaCourse();
    }
}
